
	cmake_minimum_required(VERSION 3.18.1)
	PROJECT(practice VERSION 0.1.0)
	add_definitions(-DDEFINE_CONDITION)
	set(CMAKE_BUILD_TYPE "Debug")
	find_package(OpenGL REQUIRED)
	add_library(glad glad/src/glad.c)
	target_include_directories(glad  PUBLIC glad/include)
	set (CMAKE_CXX_LINK_EXECUTABLE "${CMAKE_CXX_LINK_EXECUTABLE} -ldl") 
	add_executable(main main.cpp)   
	target_link_libraries(main  glfw ${GL_LIBRARY} glad) 